//
//  HSMediator+ModuleA.m
//  HSMediator
//
//  Created by fan on 2021/10/15.
//

#import "HSMediator+ModuleA.h"

@implementation HSMediator (ModuleA)

- (UIViewController *)viewControllerWith:(NSString *)name callBack:(void (^)(NSString *))callBack{
    HSParameters *par = HSParameters.create.key(@"title").value(name).valueCB(callBack);
    HSTargetAction *tarAct = HSTargetAction.cls(@"ModuleATarget").mtd(@"module_AViewController:").params(par);
    return [self dispatch:tarAct];
}

@end
